package com.example.mapper;


import com.example.entity.Adopt;
import com.example.entity.Params;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdoptMapper {
    List<Adopt> findBySearch(@Param("params") Params params);


    int add(Adopt adopt);

    int deleteById(Integer id);

    int update(Adopt adopt);
}
